function externalInit() {
	var msgType = getParameter("pk_todolist");
	var ds = getDataset("tjqb_QbTjVo");
	var loader = new DatasetLoader(ds);
	//设置条件查询
	var reqPara = new HashMap();
	if(msgType != null){
		reqPara.put("pk_todolist", getParameter("pk_todolist"));
	}
	ds.setReqParameterMap(reqPara);
	loader.load();
}

/**
 * 页面参数
 * @return 
 */
function setPageParamMap(key,value){
	if(window.PageParamMap == null)
		window.PageParamMap = new HashMap();
	window.PageParamMap.put(key,value);
}
function getPageParamByKey(key){
	if(window.PageParamMap != null)
		return window.PageParamMap.get(key);
}

function setToObject(key,value){
	window[key] = value;
}
function getFromObject(key){
	return window[key];
}
 
function setCheckManMap(key,value){
	if(window.CheckManMap == null)
		window.CheckManMap = new HashMap();
	window.CheckManMap.put(key,value);
}
function getCheckManByKey(key){
	if(window.CheckManMap != null)
		return window.CheckManMap.get(key);
}
function clearCheckManMap(){
	if(window.CheckManMap != null)
		window.CheckManMap.clear();
}